﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Ors.RInterface.Tests
{
    public class TestDataProvider
    {
        public static DataItem[] GetDataset()
        {
            return new DataItem[]
            {
                new DataItem(){Country="Italia",Pil=2300}
                ,
                new DataItem(){Country="Irlanda",Pil=1300}
                ,
                new DataItem(){Country="Romania",Pil=3300}
                ,
                new DataItem(){Country="Afganistan",Pil=7}
            };
        }
        public static IEnumerable<object[]> GetDatasetTuples()
        {
            return new List<object[]>
            {
                new object[]{"Italia",3,1.4,4M,15.5,true,new DateTime(2008,1,1),"A"}
                ,
                 new object[]{"Francia",3,1.7,15M,19.3,false,new DateTime(2008,1,2),"B"}
                ,
                 new object[]{"Germania",4,1.9,18M,19.11,false,new DateTime(2008,1,3),"C"}
                ,
                 new object[]{"Romania",11,1.11,11M,99.5,false,new DateTime(2008,1,4),"D"}
                ,
                 new object[]{"Regno Unito",18,1.23,null,14M,true,new DateTime(2008,1,5),"E"}
                ,
                 new object[]{"Spagna",66,1.87,66M,18.3,false,new DateTime(2008,1,6),"F"}
                ,
            };
        }
    }
}
